<?php
$body_type = !empty($body_type) ? $body_type:CONTENT_BODY_TYPE_ITEM;
if($body_type == CONTENT_BODY_TYPE_HEADER){
	foreach ($list_view_fields as $k => $field_config) {
?>
	
	<th class="th_center" onclick="sort('<?=$k?>')"><div id="<?=$k?>" class="sort icon_no_sort"><?=$field_config['text']?></div></th>
<?php
	}
} else { // Always = CONTENT_BODY_TYPE_ITEM
	foreach ($list_view_fields as $k => $field_config) {
		$cell_html = admin_get_list_view_cell_html($v,$module,$field_config,$controller);
?>
	<td class="th_center"><?=$cell_html?></td>
<?php
	}
}
?>